package com.youle.youleservice.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Administrator on 2018/8/12.
 */
@Entity
public class City {

    /**
     *
     * [
     {
     "id": 36,
     "name": "安庆市",
     "provinceId": 3,
     "createTime": "2018-08-04T01:26:53.000+0000"
     },
     {
     "id": 37,
     "name": "蚌埠市",
     "provinceId": 3,
     "createTime": "2018-08-04T01:26:53.000+0000"
     },
     *
     *
     */
    @Id
    private long id;
    private String name;
    private long provinceId;
    private String createTime;
    @Generated(hash = 1783136028)
    public City(long id, String name, long provinceId, String createTime) {
        this.id = id;
        this.name = name;
        this.provinceId = provinceId;
        this.createTime = createTime;
    }
    @Generated(hash = 750791287)
    public City() {
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public long getProvinceId() {
        return this.provinceId;
    }
    public void setProvinceId(long provinceId) {
        this.provinceId = provinceId;
    }
    public String getCreateTime() {
        return this.createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }



}
